package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 文件上传对象 sys_file_info
 *
 * @author GuangPipi
 * @date 2023-07-15
 */
public class SysFileInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工程文件id */
    private Long engFileId;

    /** 相应文件id */
    @Excel(name = "相应文件id")
    private String fileId;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 存储地址 */
    @Excel(name = "存储地址")
    private String fileDopath;

    private Date createTime;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setEngFileId(Long engFileId)
    {
        this.engFileId = engFileId;
    }

    public Long getEngFileId()
    {
        return engFileId;
    }
    public void setFileId(String fileId)
    {
        this.fileId = fileId;
    }

    public String getFileId()
    {
        return fileId;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setFileDopath(String fileDopath)
    {
        this.fileDopath = fileDopath;
    }

    public String getFileDopath()
    {
        return fileDopath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("engFileId", getEngFileId())
                .append("fileId", getFileId())
                .append("fileName", getFileName())
                .append("fileDopath", getFileDopath())
                .append("createTime", getCreateTime())
                .toString();
    }
}
